Similar to other high-speed serial interfaces operating at gigabits-per-second, USB SuperSpeed (SS) defines port-to-port protocols to ensure the reliable and efficient transfer of protocol packets across each link.

Key characteristics of SS port-to-port operation:


Core Features of Port-to-Port Protocols

The SS port-to-port protocol is built around three primary features:


Before any data transfer can occur, both link partners must establish a reliable connection through link training. This process uses Low-Frequency Periodic Signaling (LFPS) and Training Sequences (TS1/TS2).

Stage Purpose
Rx.Detect Detect the presence of a far-end receiver
Polling Exchange Training Sequences (TS1/TS2) to achieve bit lock, symbol lock, and lane polarity
U0 (Active) Link is operational — normal packet traffic begins

LFPS (Low-Frequency Periodic Signaling)

Training Sequences (TS1 and TS2)


How Credits Work

  1. Each link partner has a receive buffer capable of holding a fixed number of header packets.
  2. On link initialization, the receiver advertises its available buffer capacity as header credits.
  3. The transmitter decrements a credit for each header packet sent.
  4. The receiver sends a Link Credit Advertisement after processing a packet to return the credit.
  5. If credits reach zero, the transmitter must stop sending header packets until credits are replenished.
Note

Data Packet Payloads (DPP) do not consume separate credits — they are always associated with a DATA Header packet.


Link-level communication uses Link Commands (LC), which are short 4-symbol packets used for:

Link Command Purpose
LGOOD_n Acknowledges successful receipt of header packet n
LBAD Indicates a header packet was received with errors
LCRD_x Returns a credit to the transmitter
LGO_U Requests a link state transition (e.g., to U1, U2, U3)
LAU Accepts a link state transition request
LXU Rejects a link state transition request
LPMA Power management acknowledgment

Header Sequence Numbers

Recovery Escalation

  1. Retry — Transmitter replays unacknowledged packets (up to a retry limit)
  2. Link Retraining — If retries fail, the link returns to Recovery state to retrain
  3. Link Reset — If retraining fails, a full link reset may occur


Summary

Feature Mechanism
Link Training LFPS + TS1/TS2 ordered sets
Flow Control Credit-based (header buffer credits)
Error Detection CRC-16 on link commands, CRC-32 on header packets
Error Recovery Retry → Retraining → Reset
Power Management LGO_U / LAU / LXU link commands